package tgc.edu.examxy.custom.dict.service;

import java.util.List;
import java.util.UUID;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Service;

import tgc.edu.examxy.custom.CommonService;
import tgc.edu.examxy.custom.dict.entity.SystemData;
import tgc.edu.examxy.custom.dict.repository.SystemDataRepository;
@Service
public class SystemDataService extends CommonService<SystemData, UUID>{
	@Autowired
	private SystemDataRepository dao;
	/****
	 * 数据字典取值
	 * @param code
	 * @param sort
	 */
	public List<SystemData> findBySystemDictionariesCode(String code, Sort sort) {
		return dao.findBySystemDictionariesCode(code,sort); 
	}
	
}
